import Layout from '@/layout/index.vue'

const outRouter = [{
  path: '/out',
  component: Layout,
  isShow: true,
  redirect: 'noRedirect',
  name: 'out',
  alwaysShow: true,
  meta: { title: '出库管理', icon: 'SoldOut', },
  children: [
    {
      path: 'picking',
      component: () => import('@/views/out/picking/picking.vue'),
      name: 'picking',
      meta: { title: '领料单据', permissions: ['wms-order:picking:'], icon: 'document' }
    },
    {
      path: 'export',
      component: () => import('@/views/out/export/export.vue'),
      name: 'export',
      meta: { title: '出库单据', permissions: ['wms-order:export:'], icon: 'document' }
    }
  ]
}]

export default outRouter
